var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});

router.get('/test', function(req, res, next) {
  res.render('test', { 
    list: [
      0, 1, 2, 3, 4, 5, 6, 7, 8, 9
    ],
    mark: '<h1>hello world</h1>'
  });
});


module.exports = router;
